﻿using PHMEE.Entities.DaqInfo.TdDevices;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Repositories;

namespace PHMEE.IRepositories.DaqInfo.TdDevices
{
    /// <summary>
    /// 操作Td数据库脚本
    /// </summary>
    public interface ITdSqlScriptRepository : IRepository<TdSqlScript, Guid>
    {
        /// <summary>
        /// 根据数据库名称删除所有相关的 SQL 脚本
        /// </summary>
        /// <param name="dbName">数据库名称</param>
        /// <returns></returns>
        Task DeleteByDbNameAsync(string dbName);
    }
}
